Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.platform.birt.reporting.actions--actions

This contribution is part of XML component org.nuxeo.platform.birt.reporting.actions inside nuxeo-birt-reporting-web-6.0.jar

Extension Point

Extension point actions of component ActionService.

Contributed Items

  • <action enabled="true" id="TAB_BIRT_PREVIEW" label="label.document.preview" link="/incl/tabs/birt_preview.xhtml" order="0" type="rest_document_link">
          <category>VIEW_ACTION_LIST</category>
          <filter-id>view_preview_report</filter-id>
        </action>
  • <action id="TAB_MY_SUBSCRIPTIONS">
          <filter-id>denyForReportModel</filter-id>
          <filter-id>denyForReportInstance</filter-id>
        </action>
  • <action id="TAB_MANAGE_SUBSCRIPTIONS">
          <filter-id>denyForReportModel</filter-id>
          <filter-id>denyForReportInstance</filter-id>
        </action>
  • <action id="TAB_RELATIONS">
          <filter-id>denyForReportModel</filter-id>
          <filter-id>denyForReportInstance</filter-id>
        </action>
  • <action id="BirtModel" label="adm.report.models" link="/view_admin-fragment.xhtml" order="45" type="admin_rest_document_link">
          <category>NUXEO_ADMIN</category>
          <filter-id>only_for_manager</filter-id>
        </action>
  • <action id="TAB_VIEW_REPORT_MODELS" label="tab.report.models" link="/incl/birt/report_content_view.xhtml" order="10" type="admin_rest_document_link">
          <category>BirtModel_sub_tab</category>
          <filter-id>only_for_manager</filter-id>
        </action>
  • <action confirm="if( !confirmDeleteDocuments() ) return false;" help="comand.trashDocs.help" icon="" id="CURRENT_SELECTION_REPORTS_TRASH" label="command.trashDocs" link="#{deleteActions.deleteSelection}">
          <category>CURRENT_SELECTION_REPORTS_LIST</category>
          <filter id="canDeleteBirtReports">
            <rule grant="true">
              <condition>#{deleteActions.canDelete}</condition>
            </rule>
          </filter>
        </action>

XML Source

<extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">
    <action enabled="true" id="TAB_BIRT_PREVIEW" label="label.document.preview" link="/incl/tabs/birt_preview.xhtml" order="0" type="rest_document_link">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>view_preview_report</filter-id>
    </action>

    <!-- Hide tabs for ReportModel -->
    <action id="TAB_MY_SUBSCRIPTIONS">
      <filter-id>denyForReportModel</filter-id>
      <filter-id>denyForReportInstance</filter-id>
    </action>

    <action id="TAB_MANAGE_SUBSCRIPTIONS">
      <filter-id>denyForReportModel</filter-id>
      <filter-id>denyForReportInstance</filter-id>
    </action>

    <action id="TAB_RELATIONS">
      <filter-id>denyForReportModel</filter-id>
      <filter-id>denyForReportInstance</filter-id>
    </action>

    <!-- Admin center actions -->
    <action id="BirtModel" label="adm.report.models" link="/view_admin-fragment.xhtml" order="45" type="admin_rest_document_link">
      <category>NUXEO_ADMIN</category>
      <filter-id>only_for_manager</filter-id>
    </action>

    <action id="TAB_VIEW_REPORT_MODELS" label="tab.report.models" link="/incl/birt/report_content_view.xhtml" order="10" type="admin_rest_document_link">
      <category>BirtModel_sub_tab</category>
      <filter-id>only_for_manager</filter-id>
    </action>

    <action confirm="if( !confirmDeleteDocuments() ) return false;" help="comand.trashDocs.help" icon="" id="CURRENT_SELECTION_REPORTS_TRASH" label="command.trashDocs" link="#{deleteActions.deleteSelection}">
      <category>CURRENT_SELECTION_REPORTS_LIST</category>
      <filter id="canDeleteBirtReports">
        <rule grant="true">
          <condition>#{deleteActions.canDelete}</condition>
        </rule>
      </filter>
    </action>
  </extension>